package com.atguigu.spzx.manager.mapper;

import com.atguigu.spzx.model.entity.product.Category;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Author: Mouoal
 * @CreateTime: 2024-12-10  21:55
 * @Version: 1.0
 */


@Mapper
public interface CategoryMapper {
    public abstract List<Category> selectByParentId(Long parentId);
    public abstract int countByParentId(Long id);

    public abstract  List<Category> selectAll();

    public abstract  void batchInsert(List cachedDataList);
}


